package cn.infinite.security.core;

import org.springframework.context.ApplicationContextAware;

import java.util.Collection;

/**
 * 安全端点扫描器
 */
public abstract class SafePointScanner implements ApplicationContextAware {

    /**
     * 收集应用中 被标记为 {@link cn.infinite.security.annotation.AutoSignCheck}
     * 的端点，称之为安全端点
     *
     * @return
     */
    public abstract Collection<SafeEndPoint> collect();

}
